
package com.platform.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 模块--分类表实体
 *
 * @author
 * @date 2021-06-23 10:56:28
 */
@Data
@TableName("MALL_MODULE_CATEGORY")
public class MallModuleCategoryEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    private String id;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 类型 1=上架 2=下架
     */
    @ApiModelProperty(value = "类型 1=上架 2=下架", hidden = true)
    private Integer status;
    /**
     * 封面
     */
    @ApiModelProperty(value = "封面")
    private String cover;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date updateTime;
    /**
     * 显示位置
     */
    @ApiModelProperty(value = "显示位置", hidden = true)
    private Integer showLocation;
    /**
     * 广告词
     */
    @ApiModelProperty(value = "广告词")
    private String ad;
    /**
     * 跳转链接
     */
    @ApiModelProperty(value = "跳转链接")
    private String link;
    /**
     * 模块数组
     */
    @TableField(exist = false)
    private List<MallModuleEntity> moduleEntities;
}
